<div>
  <div class="modal-card">
    <label>
      <span><span class="require">*</span>货币编码</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="编码" [(ngModel)]="form.currencyNum">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!form.currencyNum">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span><span class="require">*</span>货币名称</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="名称" [(ngModel)]="form.currencyName">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!form.currencyName">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span><span class="require">*</span>货币符号</span>
    </label>
    <input type="text" dTextInput class="form-input-box" name="货币符号" [(ngModel)]="form.currencySymbol">
  </div>
  <div class="modal-card">
    <label>
    </label>
    <div class="invalid" *ngIf="data.display&&!form.currencySymbol">*值不能为空</div>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span><span class="require">*</span>是否显示货币符号</span>
    </label>
    <d-toggle name="是否显示货币符号" [checked]="true" [(ngModel)]="form.isDisplaySymbol"></d-toggle>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span>是否默认</span>
    </label>
    <d-toggle name="是否默认" [checked]="false" [(ngModel)]="form.isDefault"></d-toggle>
  </div>
  <div class="modal-card mt-3">
    <label>
      <span>描述</span>
    </label>
    <textarea dTextarea [(ngModel)]="form.description" name="description"></textarea>
  </div>
</div>
